package com.example.depcontrol.mapper;

import com.example.depcontrol.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DeptMapper {

    List<Dept> list();
    void deleteById(Integer id);

    void insert(Dept dept);

    Dept selectById(Integer id);

    void alterDep(Dept dept);
}

